package com.baidu.service.imp;

import com.baidu.entity.TbyBankcard;
import com.baidu.entity.TbyBanktype;
import com.baidu.mapper.TbyBankcardMapper;
import com.baidu.mapper.TbyBanktypeMapper;
import com.baidu.service.CreditBankService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 田甜
 * @version 1.0
 * @description: TODO
 * @date 2021/12/13 0013 13:47
 */
@Service
@Component
public class CreditBankServiceImp implements CreditBankService {
    @Autowired
    private TbyBankcardMapper tbyBankcardMapper;
    @Autowired
    private TbyBanktypeMapper tbyBanktypeMapper;

    @Override
    public List<TbyBanktype> bancard() {
        return  tbyBanktypeMapper.selectList(null);
    }
}
